package com.coolapk.mapper;

import com.coolapk.entity.ArticleImg;
import com.coolapk.entity.ArticleImgExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface ArticleImgMapper {
    long countByExample(ArticleImgExample example);

    int deleteByExample(ArticleImgExample example);

    int deleteByPrimaryKey(Integer id);

    int insert(ArticleImg record);

    int insertSelective(ArticleImg record);

    List<ArticleImg> selectByExample(ArticleImgExample example);

    ArticleImg selectByPrimaryKey(Integer id);

    int updateByExampleSelective(@Param("record") ArticleImg record, @Param("example") ArticleImgExample example);

    int updateByExample(@Param("record") ArticleImg record, @Param("example") ArticleImgExample example);

    int updateByPrimaryKeySelective(ArticleImg record);

    int updateByPrimaryKey(ArticleImg record);
}